This section discusses the usage of two principal classes and one principal interface in the QuickTime for Java API. These are the QTCanvas , QTDrawable , and QTFactory . As we saw in the preceding section, the QTCanvas is a subclass of the java.awt.Canvas and represents primarily a way to gain access to the underlying native graphics structure of the platform. QuickTime requires this in order to draw to the screen. QTDrawable is an interface that expresses this requirement of QuickTime objects to draw to this native graphics structure. QTFactory is a class that uses the importing capabilities of QuickTime to "manufacture" QTDrawable objects to present that media.
In this section, we discuss how to
The section also introduces briefly an abstraction known as a space, which is part of the QuickTime for Java spaces and controllers architecture. A space defines and organizes the behavior of objects and allows for the complex representation of disparate media types.
| Previous | Chapter Top | Next |